package com.simblog.common.constants;

public class Constants {
	
	//系统标准返回码
	/*请求处理成功*/
	public final static String RESP_SUCCESS = "1";
	/*请求处理失败*/
	public final static String RESP_FAIL = "0";
	/*系统异常*/
	public final static String RESP_EXCEPTION = "-1";
	
	//登录&注册系列返回码
	/*验证失败*/
	public final static String CHECK_FAIL = "L000";
	/*验证成功*/
	public final static String CHECK_PASS = "L001";
	/*账户不符合格式*/
	public final static String ACCOUNT_ERROR = "L002";
	/*密码不符合格式*/
	public final static String PASSWORD_ERROR = "L003";
	
	
	/*登录成功的session名字*/
	public final static String LOGIN_USER= "LOGIN_USER";
	
	
	//文件上传系列返回码
	/*文件上传成功 */
	public final static String FILE_UPLOAD_SUCCESS = "F001";
	/*文件格式错误*/
	public final static String FILE_EXT_ERROR = "F002";
	/*文件格式异常*/
	public final static String FILE_EXT_EXCEPTION = "F003";
	/*文件上传失败*/
	public final static String FILE_UPLOAD_FAIL = "F004";
	
	//邮件标题
	/*邮箱验证 */
	public final static String EMAIL_TITLE_REGISTER = "simblog注册验证";
	/*重置密码 */
	public final static String EMAIL_TITLE_PASSWORD = "simblog重置密码验证";
	
	//固定链接
	/*域名 */
	public final static String HOST_DOMAIN = "http://blog.xxwu.me";
	/*请求后缀 */
	public final static String REQUEST_TYPE = ".jhtml";
	/*注册验证 */
	public final static String VERIFICATION_REGISTER_PREFIX = "/p/user/register/verificate/";
	/*密码找回验证*/
	public final static String VERIFICATION_PASSWORD_PREFIX = "/p/user/password/verificate/";
	
}
